#ifndef KEYFRAMEDIALOG_H
#define KEYFRAMEDIALOG_H

#include <QDialog>
#include "robot.h"
#include "robotaction.h"
#include "editabletimelineitem.h"

namespace Ui {
    class KeyFrameDialog;
}

class KeyFrameDialog : public EditDialog
{
    Q_OBJECT

protected:
    void deleteItem();
    void saveItem();

public:
    explicit KeyFrameDialog(QWidget *parent = 0);
    ~KeyFrameDialog();

    void loadAction(RobotAction* action);
    void prepDialog(int timestamp);

private:
    Ui::KeyFrameDialog *ui;
};

#endif // KEYFRAMEDIALOG_H
